/**  
 * All rights Reserved
 * @Title:  AroundGoodsDto.java   
 * @Package com.amigo.online.common.param.dto.goods   
 * @Description:
 * @author: zxy  QQ:1363320658
 * @date:   2018年12月17日 下午4:08:18   
 * @version V1.0 
 * @Copyright: 2018  All rights reserved. 
 *
 */
package com.amigo.online.common.param.dto.goods;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/** 
 * @version: V 1.0.0
 * @Description: （附近的商品请求提） 
 * @author: zxy  QQ:1363320658
 * @date: 2018年12月17日 下午4:08:18  
 * 
 */
public class AroundGoodsDto {
	/**
	 * 查询类别
	 * 1热门
	 * 2推荐
	 * 3距离
	 */
	@Min(1)	
	@Max(3)
	private Integer type;
	
	private Integer page;
	/**
	 * 商品一级分类
	 */
	private Integer label;
	
	/**
	 * 商品类别标签
	 */
	private Integer category;
	
	/**
	 * 商品服务标签
	 */
	private Integer service;
	
	/**
	 * 商品最低价格
	 */
	private Integer minPrice;
	
	/**
	 * 商品最高价格
	 */
	private Integer maxPrice;
	
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}	
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLabel() {
		return label;
	}
	public void setLabel(Integer label) {
		this.label = label;
	}
	public Integer getCategory() {
		return category;
	}
	public void setCategory(Integer category) {
		this.category = category;
	}
	public Integer getService() {
		return service;
	}
	public void setService(Integer service) {
		this.service = service;
	}
	public Integer getMinPrice() {
		return minPrice;
	}
	public void setMinPrice(Integer minPrice) {
		this.minPrice = minPrice;
	}
	public Integer getMaxPrice() {
		return maxPrice;
	}
	public void setMaxPrice(Integer maxPrice) {
		this.maxPrice = maxPrice;
	}
	
	@Override
	public String toString() {
		return "AroundGoodsDto [type=" + type + ", label=" + label + ", category=" + category + ", service=" + service
				+ ", minPrice=" + minPrice + ", maxPrice=" + maxPrice + "]";
	}
	
}
